package Controller;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JPanel;
import javax.swing.JTextField;

public class loginListener implements ActionListener {

	JPanel log;
	public loginListener(JPanel loginPane) {
		log=loginPane;
	}

	@Override
	public void actionPerformed(ActionEvent e) {
		// TODO tenter de se loguer
		String user = ((JTextField)log.getComponent(1)).getText();
		String pwd = ((JTextField)log.getComponent(3)).getText();

	}

}
